home *** CD-ROM | disk | FTP | other *** search
- Path: news.aimnet.com!news
- From: jdj@foolproof.com (Smothra)
- Newsgroups: comp.lang.c
- Subject: Basic I/O help, please
- Date: Wed, 28 Feb 1996 00:12:23 GMT
- Organization: FoolProof Labs
- Message-ID: <4h06lg$b9j@news.aimnet.com>
- NNTP-Posting-Host: dial-sf2-11.iway.aimnet.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- I'm having a little trouble with the mixing and matching of various
- standard library I/O functions. In general, the mixture of scanf(),
- getc() and getch() seem to do me in after a number of function calls.
- Without responding to the specifics (which I won't post unless someone
- offers to read 'em over in which case I'll eMail ya), can anyone tell
- me if there are some genral rules about how to mix and match I/O
- functions (particularly the I's). Are there any standard pitfalls of
- which I should be aware? The problem seems to be related to
- encountering an EOF that is at the end of a non-blank line.
-
- TIA.
-
-
- Smothra (jdj@foolproof.com)
- FoolProof Labs -- San Francisco, CA
- "And you take the model that what a waste it is to lose one's mind, or
- not have a mind as being very wasteful. How true that is."
-
-